/**
 * 
 */
package com.mindtree.vi.dbaccess.datatypes.user;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.mindtree.vi.dbaccess.datatypes.Datatype;

/**
 * @author venkatesh
 * 
 */
@Entity
@Table(name="user_action_map")
public class UserActionsMap implements Datatype {

	@Column(name="user_role")
	//@Enumerated(EnumType.STRING)
	@Id
	private String role;

	@Column(name="user_actions")
	private String actions;

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getActions() {
		return actions;
	}

	public void setActions(String actions) {
		this.actions = actions;
	}
}
